import Vue from 'vue'

import {
	Button,
	NavBar,
	Tab,
	Tabs,
	SwipeCell,
	Cell,
	Icon,
	Checkbox,
	List,
	Toast,
	Popup,
	Field,
	Picker,
	Dialog 
} from 'vant'

Vue.use(Button)
Vue.use(NavBar)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(SwipeCell)
Vue.use(Cell)
Vue.use(Icon)
Vue.use(Checkbox)
Vue.use(List)
Vue.use(Popup)
Vue.use(Field)
Vue.use(Picker)

Vue.prototype.$toast = Toast
Vue.prototype.$dalog = Dialog